<template>
    <div class="association-list">
        <ul>
            <li v-for="(item,index) in list" :key="index" @click="$emit('select',item.word)"><label>{{item.word}}</label><span class="item">约{{item.count}}条结果</span></li>
        </ul>
    </div>
</template>

<script>
export default {
    props: {
        list: {
            type: Array,
            default: function() {
                return []
            }
        }
    }
}
</script>

<style>
</style>
